! function(win) {
	(typeof win.Configure == 'undefined') && (win.Configure = {});

	/* -----------------------------
	 * 获取微信初始化参数
	 * [param]
	 * url 当前地址，不带描点#
	 * --------------------------- */
	Configure._wechat_jsapi = {
		'type': 'get',
		'url': '/api?common.jsApi',
		'data': '__getdata_jsapi',
		'complete': '__complete_jsapi'
	};

	/* -----------------------------
	 * 微信统一下单
	 * [param]
	 * project_id 项目主键
	 * title 商品名称,eg:项目评估费
	 * pay_mark 支付标识,cp-初评付款,cx-诚信保证金
	 * code 优惠码,可选
	 * tradeType 支付类型,可选,JSAPI-公众号支付(默认),NATIVE-扫码支付
	 * --------------------------- */
	Configure._wechat_order = {
		'type': 'post',
		'url': '/api?wechat.order',
		'data': '__getdata_order',
		'complete': '__complete_order'
	};

	/* -----------------------------
	 * 查询支付结果
	 * [param]
	 * project_id 项目主键
	 * pay_mark 支付标识,cp-初评付款,cx-诚信保证金
	 * --------------------------- */
	Configure._wechat_notify = {
		'type': 'get',
		'url': '/api?project.notify',
		'data': '__getdata_notify',
		'complete': '__complete_notify'
	};

	/* -----------------------------
	 * 微信支付签名
	 * [param]
	 * prepay_id 微信支付统一下单标识
	 * --------------------------- */
	Configure._wechat_paysign = {
		'type': 'post',
		'url': '/api?wechat.paySign',
		'data': '__getdata_paysign',
		'complete': '__complete_paysign'
	};

}(window);